Computes the median absolute deviation of a data set by determining the median of distances of each data point from the data set median.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| real(kind=real64), | intent(in), | dimension(:) | :: | x |
The data set. |
The median absolute deviation of x.
Computes median absolute deviation using the array implementation on a copy. Distances that overflow are saturated as in the array overload.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(data_column), | intent(in) | :: | x |
The input column, unchanged; unallocated storage is treated as empty. |
Unscaled median absolute deviation; empty/nonfinite data give NaN.
Computes Tukey's biweight IRLS weight for a standardized residual. The positive tuning constant k defaults to 4.685.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| real(kind=real64), | intent(in) | :: | u |
The standardized residual. |
||
| real(kind=real64), | intent(in), | optional | :: | k |
The positive cutoff/tuning constant; defaults to 4.685. |
The nonnegative IRLS weight.
Computes Tukey's biweight score function for a standardized residual. The positive tuning constant k defaults to 4.685.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| real(kind=real64), | intent(in) | :: | u |
The standardized residual. |
||
| real(kind=real64), | intent(in), | optional | :: | k |
The positive cutoff/tuning constant; defaults to 4.685. |
The score value psi(u).
Computes Tukey's biweight rho loss for a standardized residual. The positive tuning constant k defaults to 4.685.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| real(kind=real64), | intent(in) | :: | u |
The standardized residual. |
||
| real(kind=real64), | intent(in), | optional | :: | k |
The positive cutoff/tuning constant; defaults to 4.685. |
The loss value rho(u).